package com.theaf.core.api.model;

import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 在线用户信息
 * @author songwenke
 * @date 2017-11-15
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserInfo implements Serializable {
	private long id;
	private String account;
	private String name;
	private String phone;
	private String weixinId;
	private long organId;
	private String organName;
	private long areaId;
	private String areaName;
	private long cityId;
	private String cityName;
	private long provinceId;
	private String provinceName;
	private long countryId;
	private String countryName;
	private String ip;
	private String allowIp;
	private boolean alowRepeatLogin;
	/**
	 * 终端
	 */
	private String terminal=TERMINAL_PC;
	public static String TERMINAL_PC="PC";
	public static String TERMINAL_APP="APP";
	public static String TERMINAL_PAD="PAD";
	/**
	 * 集合
	 */
	private Position position;
	/**
	 * 系统地址
	 */
	private String sysPath;
}